45 research outputs found

    Exact Algorithm for Graph Homomorphism and Locally Injective Graph Homomorphism

    Full text link
    For graphs GG and HH, a homomorphism from GG to HH is a function φ ⁣:V(G)V(H)\varphi \colon V(G) \to V(H), which maps vertices adjacent in GG to adjacent vertices of HH. A homomorphism is locally injective if no two vertices with a common neighbor are mapped to a single vertex in HH. Many cases of graph homomorphism and locally injective graph homomorphism are NP-complete, so there is little hope to design polynomial-time algorithms for them. In this paper we present an algorithm for graph homomorphism and locally injective homomorphism working in time O((b+2)V(G))\mathcal{O}^*((b + 2)^{|V(G)|}), where bb is the bandwidth of the complement of HH

    Tight Euler tours in uniform hypergraphs - computational aspects

    Full text link
    By a tight tour in a kk-uniform hypergraph HH we mean any sequence of its vertices (w0,w1,,ws1)(w_0,w_1,\ldots,w_{s-1}) such that for all i=0,,s1i=0,\ldots,s-1 the set ei={wi,wi+1,wi+k1}e_i=\{w_i,w_{i+1}\ldots,w_{i+k-1}\} is an edge of HH (where operations on indices are computed modulo ss) and the sets eie_i for i=0,,s1i=0,\ldots,s-1 are pairwise different. A tight tour in HH is a tight Euler tour if it contains all edges of HH. We prove that the problem of deciding if a given 33-uniform hypergraph has a tight Euler tour is NP-complete, and that it cannot be solved in time 2o(m)2^{o(m)} (where mm is the number of edges in the input hypergraph), unless the ETH fails. We also present an exact exponential algorithm for the problem, whose time complexity matches this lower bound, and the space complexity is polynomial. In fact, this algorithm solves a more general problem of computing the number of tight Euler tours in a given uniform hypergraph

    Complexity of Token Swapping and its Variants

    Full text link
    In the Token Swapping problem we are given a graph with a token placed on each vertex. Each token has exactly one destination vertex, and we try to move all the tokens to their destinations, using the minimum number of swaps, i.e., operations of exchanging the tokens on two adjacent vertices. As the main result of this paper, we show that Token Swapping is W[1]W[1]-hard parameterized by the length kk of a shortest sequence of swaps. In fact, we prove that, for any computable function ff, it cannot be solved in time f(k)no(k/logk)f(k)n^{o(k / \log k)} where nn is the number of vertices of the input graph, unless the ETH fails. This lower bound almost matches the trivial nO(k)n^{O(k)}-time algorithm. We also consider two generalizations of the Token Swapping, namely Colored Token Swapping (where the tokens have different colors and tokens of the same color are indistinguishable), and Subset Token Swapping (where each token has a set of possible destinations). To complement the hardness result, we prove that even the most general variant, Subset Token Swapping, is FPT in nowhere-dense graph classes. Finally, we consider the complexities of all three problems in very restricted classes of graphs: graphs of bounded treewidth and diameter, stars, cliques, and paths, trying to identify the borderlines between polynomial and NP-hard cases.Comment: 23 pages, 7 Figure

    A polynomial bound on the number of minimal separators and potential maximal cliques in P6P_6-free graphs of bounded clique number

    Full text link
    In this note we show a polynomial bound on the number of minimal separators and potential maximal cliques in P6P_6-free graphs of bounded clique number
    corecore